import { BASE } from './api'
import { METHOD, request } from '@/utils/request'

export async function getEvent(params) {
    return request(`${BASE}/event/page`, METHOD.POST, params)
}

export async function getSave(params) {
    return request(`${BASE}/event/save`, METHOD.POST, params)
}

export default { getEvent ,getSave}